=========================================================================
Log Path: C:/Users/lbehrens/Desktop/jop_reproduction/log/R_reproduction.log
Program Path: C:\Users\lbehrens\Desktop\jop_reproduction\R_reproduction.R
Working Directory: C:/Users/lbehrens/Desktop/jop_reproduction
User Name: lbehrens
R Version: 4.0.0 (2020-04-24)
Machine: SFB884-66-B6 x86-64
Operating System: Windows 10 x64 build 17134
Base Packages: stats graphics grDevices utils datasets methods base
Other Packages: logr_1.2.7 rstudioapi_0.13 dplyr_1.0.0 lme4_1.1-23 Matrix_1.2-18
                stargazer_5.2.2 gridExtra_2.3 tikzDevice_0.12.3 RCurl_1.98-1.2 readstata13_0.9.2
                MASS_7.3-51.5 ggplot2_3.3.1 qdapRegex_0.7.2 stringr_1.4.0 
Log Start Time: 2021-11-17 11:47:27
=========================================================================

Information for Table 3: Descriptive statistics of key variables.

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 10.9898719787598

Part A: Dependent variable

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.0229840278625488

    Min.  1st Qu.   Median     Mean  3rd Qu.     Max. 
-3832.00   -36.00    33.00    17.51   150.75  2670.00 

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.0359790325164795

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
 -774.0    -6.0    32.0   251.6   162.0  7178.0 

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.00899505615234375

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
-3832.0   -20.0    33.0   123.1   158.0  7178.0 

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.00899481773376465

Part B: Independent variables

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.0139920711517334


gov opp 
125 152 

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.0079948902130127

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
  0.000   1.250   6.429  11.042  17.000 100.000 

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.00899505615234375

[1] 13.3202

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.0079951286315918

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
   7.00   17.00   35.00   33.01   38.00   69.00 

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.00899481773376465

[1] 16.76402

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.0079951286315918

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
   1.80   17.43   29.10   27.54   37.27   56.63 

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.00899505615234375

[1] 14.11557

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.0079958438873291

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
0.04557 0.04557 2.84842 2.40259 4.29638 7.68263 

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.0109939575195312

[1] 1.910508

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.012991189956665


  0   1 
130 147 

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.00899600982666016

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
  1.000   2.000   4.000   8.007   7.000  76.000 

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.00899481773376465

[1] 12.38161

NOTE: Log Print Time:  2021-11-17 11:47:38
NOTE: Elapsed Time in seconds: 0.00899410247802734

Table 4: Model 1

NOTE: Log Print Time:  2021-11-17 11:49:23
NOTE: Elapsed Time in seconds: 1.76197226842244

Linear mixed model fit by REML ['lmerMod']
Formula: worddist_weighted ~ origin + log(factionsize) + log(datedist) +  
    lire_dist + oppchair_committee + log(bill_length) + cap1_field +      (1 | idDrucksache)
   Data: billxparty_reduced

REML criterion at convergence: 4186.8

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-4.5159 -0.2167 -0.0550  0.1769  5.0965 

Random effects:
 Groups       Name        Variance Std.Dev.
 idDrucksache (Intercept) 324117   569.3   
 Residual                 401228   633.4   
Number of obs: 277, groups:  idDrucksache, 132

Fixed effects:
                                                            Estimate Std. Error t value
(Intercept)                                                  869.889    546.163   1.593
originopp                                                   -366.593    180.352  -2.033
log(factionsize)                                             -79.846     75.596  -1.056
log(datedist)                                                -62.764     86.270  -0.728
lire_dist                                                      4.009     47.808   0.084
oppchair_committee                                          -236.636    144.114  -1.642
log(bill_length)                                             -52.471     70.652  -0.743
cap1_fieldBanking, Finance and Domestic Commerce             158.096    524.561   0.301
cap1_fieldCivil Rights, Minority Issues and Civil Liberties  240.705    469.586   0.513
cap1_fieldCommunity Developlemnt and Housing Issues           44.365    466.560   0.095
cap1_fieldEducation                                           11.180    410.957   0.027
cap1_fieldEnergy                                             473.170    729.386   0.649
cap1_fieldEnvironment                                         37.641    462.079   0.081
cap1_fieldGovernment Operations                              543.891    418.853   1.299
cap1_fieldHealthcare                                         -80.861    432.299  -0.187
cap1_fieldLabor, Employment and Immigration                  240.549    488.172   0.493
cap1_fieldLaw, Crime and Family Issues                        74.079    411.127   0.180
cap1_fieldMacroeconomy                                       106.456    778.733   0.137
cap1_fieldOther                                               95.431    503.031   0.190
cap1_fieldSocial Welfare                                      93.712    539.486   0.174
cap1_fieldSpace, Science, Technology and Communications     -638.661    525.578  -1.215
cap1_fieldTransportation                                     -24.443    788.330  -0.031

NOTE: Log Print Time:  2021-11-17 11:49:24
NOTE: Elapsed Time in seconds: 0.0929458141326904

Table 4: Model 2a

NOTE: Log Print Time:  2021-11-17 11:52:54
NOTE: Elapsed Time in seconds: 3.50106986761093

Linear mixed model fit by REML ['lmerMod']
Formula: worddist_weighted ~ origin + bill_imp + log(factionsize) + log(datedist) +  
    lire_dist + oppchair_committee + log(bill_length) + cap1_field +      (1 | idDrucksache)
   Data: billxparty_reduced

REML criterion at convergence: 4180.9

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-4.5209 -0.2223 -0.0555  0.1932  5.0742 

Random effects:
 Groups       Name        Variance Std.Dev.
 idDrucksache (Intercept) 324258   569.4   
 Residual                 401592   633.7   
Number of obs: 277, groups:  idDrucksache, 132

Fixed effects:
                                                            Estimate Std. Error t value
(Intercept)                                                  822.935    548.865   1.499
originopp                                                   -374.288    180.636  -2.072
bill_imp                                                      -4.737      5.295  -0.894
log(factionsize)                                             -82.389     75.683  -1.089
log(datedist)                                                -41.995     89.368  -0.470
lire_dist                                                      7.155     47.958   0.149
oppchair_committee                                          -258.332    146.185  -1.767
log(bill_length)                                             -50.184     70.719  -0.710
cap1_fieldBanking, Finance and Domestic Commerce             346.958    565.621   0.613
cap1_fieldCivil Rights, Minority Issues and Civil Liberties  324.607    479.009   0.678
cap1_fieldCommunity Developlemnt and Housing Issues           95.866    470.244   0.204
cap1_fieldEducation                                           58.387    414.462   0.141
cap1_fieldEnergy                                             528.024    732.209   0.721
cap1_fieldEnvironment                                         90.612    466.003   0.194
cap1_fieldGovernment Operations                              607.126    424.905   1.429
cap1_fieldHealthcare                                         -45.041    434.285  -0.104
cap1_fieldLabor, Employment and Immigration                  295.462    492.169   0.600
cap1_fieldLaw, Crime and Family Issues                       103.213    412.546   0.250
cap1_fieldMacroeconomy                                       176.675    782.907   0.226
cap1_fieldOther                                              103.060    503.260   0.205
cap1_fieldSocial Welfare                                     129.607    541.148   0.240
cap1_fieldSpace, Science, Technology and Communications     -585.114    529.142  -1.106
cap1_fieldTransportation                                     -50.945    789.122  -0.065

NOTE: Log Print Time:  2021-11-17 11:52:54
NOTE: Elapsed Time in seconds: 0.0239861011505127

Table 4: Model 2b

NOTE: Log Print Time:  2021-11-17 11:52:54
NOTE: Elapsed Time in seconds: 0.0929458141326904

Linear mixed model fit by REML ['lmerMod']
Formula: worddist_weighted ~ origin * bill_imp + log(factionsize) + log(datedist) +  
    lire_dist + oppchair_committee + log(bill_length) + cap1_field +      (1 | idDrucksache)
   Data: billxparty_reduced

REML criterion at convergence: 4169.9

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-4.5084 -0.2416 -0.0383  0.2043  4.9806 

Random effects:
 Groups       Name        Variance Std.Dev.
 idDrucksache (Intercept) 323262   568.6   
 Residual                 393528   627.3   
Number of obs: 277, groups:  idDrucksache, 132

Fixed effects:
                                                            Estimate Std. Error t value
(Intercept)                                                  802.807    545.641   1.471
originopp                                                   -577.358    200.315  -2.882
bill_imp                                                     -18.732      8.162  -2.295
log(factionsize)                                             -75.886     75.021  -1.012
log(datedist)                                                -30.025     89.062  -0.337
lire_dist                                                     12.669     47.587   0.266
oppchair_committee                                          -276.577    145.696  -1.898
log(bill_length)                                             -43.667     70.449  -0.620
cap1_fieldBanking, Finance and Domestic Commerce             334.830    562.809   0.595
cap1_fieldCivil Rights, Minority Issues and Civil Liberties  469.594    481.002   0.976
cap1_fieldCommunity Developlemnt and Housing Issues          177.430    469.331   0.378
cap1_fieldEducation                                          150.139    414.357   0.362
cap1_fieldEnergy                                             656.105    730.047   0.899
cap1_fieldEnvironment                                        208.600    466.628   0.447
cap1_fieldGovernment Operations                              731.072    426.350   1.715
cap1_fieldHealthcare                                          39.642    433.766   0.091
cap1_fieldLabor, Employment and Immigration                  381.195    491.208   0.776
cap1_fieldLaw, Crime and Family Issues                       195.103    412.470   0.473
cap1_fieldMacroeconomy                                       318.571    782.106   0.407
cap1_fieldOther                                              213.956    503.193   0.425
cap1_fieldSocial Welfare                                     227.328    540.136   0.421
cap1_fieldSpace, Science, Technology and Communications     -541.244    526.906  -1.027
cap1_fieldTransportation                                     -45.610    785.646  -0.058
originopp:bill_imp                                            17.901      7.971   2.246

NOTE: Log Print Time:  2021-11-17 11:52:54
NOTE: Elapsed Time in seconds: 0.0519700050354004

Warning messages:
1: Duplicated aesthetics after name standardisation: fill, colour
2: Removed 4 rows containing non-finite values (stat_smooth).

NOTE: Log Print Time: 2021-11-17 11:55:09
NOTE: Log Elapsed Time: 2.24789250294367

=========================================================================
Log End Time: 2021-11-17 11:55:09
Log Elapsed Time: 0 00:00:07
=========================================================================
